﻿@using TaskManager.Web.Extensions
@model TaskManager.Web.ViewModels.Account.LogOnModel
@{
    ViewBag.Title = "Log On";
}
<p>
    Please enter your user name and password. 
</p>

@Html.ValidationSummaryEx(true, "Login was unsuccessful. Please correct the errors and try again.")
@using (Html.BeginForm())
{
    <div>
        <fieldset>
            @Html.NameAndTextBoxFor("User name", m => m.UserName, new { @class = "large" })
            @Html.NameAndPasswordFor("Password", m => m.Password, new { @class = "large" })
            @Html.NameAndCheckboxFor("Remember me", m => m.RememberMe)
            <p>
                <input type="submit" class="btn form-action-btn" value="Log On" id="LogOn" />
            </p>
        </fieldset>
    </div>
}
